<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="dao.*" %>
    <jsp:include page="info.jsp"></jsp:include>
<!DOCTYPE html >
<html>
<head>
<style type="text/css">
.div1{
margin-left:10%;
margin-top:10px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改员工信息</title>
</head>
<body>
<% Info info=(Info)session.getAttribute("info"); %>
<div class="div1">
	<form action="UpdateInfo" name="form1" method="post">
<table border="1" cellspacing="0" >
<tr>
<td width="444">
<p align="center"><font color="#FF9999" size="5">修改员工信息</font></p>
<p align="left">员工号：<font color="#FF0000">*</font><input type="text" name="id" value="<%=info.getId()%>"/> </p>
<p align="left">姓名: <font color="#FF0000">*</font>
  <input type="text" name="name" value="<%=info.getName()%>"/>
</p>
<p align="left">性别：<font color="#FF0000">*</font>
  <select name="sex">
        <option value="男">男</option>
        <option value="女">女</option>
      </select>
</p>
<p align="left">出生日期: <font color="#FF0000">*</font>
<input type="date" name="birthday" value="<%=info.getBirthday()%>"/></p>
<p align="left">身份证号： <font color="#FF0000">*</font>
<input type="number" name="icard" value="<%=info.getIcard()%>"/></p>
<p align="left">部门：<font color="#FF0000">*</font>
  <select name="section">
        <option value="A部门">A部门</option>
        <option value="B部门">B部门</option>
        <option value="C部门">C部门</option>
      </select>
</p>
<p align="left">岗位：<font color="#FF0000">*</font>
  <select name="job">
        <option value="部门经理">部门经理</option>
        <option value="部门经理">部门员工</option>
      </select>
</p>
<p align="left">入职日期: <font color="#FF0000">*</font>
<input type="date" name="jdate" value="<%=info.getJdate()%>"/></p>
<p align="left">参加工作日期: <font color="#FF0000">*</font>
<input type="date" name="wdate" value="<%=info.getWdate()%>"/></p>
<p align="left">民族：
  <select name="nationality">
        <option value="汉">汉</option>
        <option value="少数民族">少数民族</option>
      </select>
</p>
<p align="left">籍贯: 
  <input type="text" name="place" value="<%=info.getPlace()%>"/>
</p>
<p align="left">联系电话:  
<input type="number" name="phone" value="<%=info.getPhone()%>"/></p>
<p align="left">电子邮件：<input type="email" name="email" value="<%=info.getEmail()%>"/></p>
<p align="left">身高: 
<input type="number" name="heigth" value="<%=info.getHeigth()%>"/></p>
<p align="left">出生地: 
  <input type="text" name="bplace" value="<%=info.getBplace()%>"/>
</p>
<p align="left">户口所在地: 
  <input type="text" name="registeredop" value="<%=info.getRegisteredop()%>"/>
</p>
<p align="left">毕业院校: 
  <input type="text" name="school" value="<%=info.getSchool()%>"/>
</p>
<p align="left">所学专业: 
  <input type="text" name="major" value="<%=info.getMajor()%>"/>
</p>
<p align="center"><input type="submit" value="确认" />
</td>
</tr>
</table>
</form>
	
</div>
</body>
</html>